<?php
namespace jianan\models;

use Yii;
use yii\db\ActiveRecord;

class Room extends ActiveRecord {

	public $Aarea;
	public $Earea;
	public $Atotalprice;
	public $Etotalprice;
	public $owner;
	public $sid;

	public static function tableName(){
		return '{{jianan_rooms}}';
	}

	public function rules(){

		return [
			[['floorId','unitNo','unitName','roomId','area','inarea','cellararea','gardenarea','price','totalprice','status','sort','addTime','item','toWard','houseType','tier','cusid','sid','buytime','dealTotalprice','dealprice','coupon'],'required'],
			
		];
	}
}
